// 删除原有的

const getters = {
  // username: state => state.user.userInfo.username,
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => {
    return state.user.token
  },
  username: state => {
    return state.user.userInfo.username
  },

  staffPhoto: state => {
    return state.user.userInfo.staffPhoto
  }
}

export default getters
